var VideoDataBase = new Array();
var VideoId;
var NoHide;

function VDB_initVideoDataBase (){
	alert("----------------------- Init VideoDataBase -------------------------------");
	VideoDataBase[0] = { "type" : "", "url" : "", "nextscene" : ""};
}

function VDB_addVideo(type,url,nextscene){
	alert("----------------------- Enter VDB_addVideo -------------------------------");
	//tmp = VideoDataBase.length;
	VideoDataBase[VideoDataBase.length] = { "type" : type, "url" : url, "nextscene" : nextscene};
}

function VDB_updateVideo(id,type,url,nextscene){
	alert("----------------------- Enter VDB_updateVideo -------------------------------");
	VideoDataBase[id]["type"] = type;
	VideoDataBase[id]["url"] = url;
	VideoDataBase[id]["nextscene"] = nextscene;
}

